package com.kingdee.eas.xbang.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class DocumentTypeFactory
{
    private DocumentTypeFactory()
    {
    }
    public static com.kingdee.eas.xbang.basedata.IDocumentType getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDocumentType)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("6B6667B2") ,com.kingdee.eas.xbang.basedata.IDocumentType.class);
    }
    
    public static com.kingdee.eas.xbang.basedata.IDocumentType getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDocumentType)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("6B6667B2") ,com.kingdee.eas.xbang.basedata.IDocumentType.class, objectCtx);
    }
    public static com.kingdee.eas.xbang.basedata.IDocumentType getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDocumentType)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("6B6667B2"));
    }
    public static com.kingdee.eas.xbang.basedata.IDocumentType getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.xbang.basedata.IDocumentType)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("6B6667B2"));
    }
}